﻿#ifndef SCREEN_H
#define SCREEN_H

#include "grid.h"
#include <QWidget>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QPushButton>
#include <QGraphicsView>
#include <QLineEdit>

class Screen : public QWidget
{
    Q_OBJECT
public:
    explicit Screen(QWidget *parent = 0);

public:
    QHBoxLayout *layoutNew;
    QVBoxLayout* layoutLeft;
    QPushButton* buttonSave;
    QPushButton* buttonDone;
};

class PlayScreen : public Screen
{
    Q_OBJECT
public:
    PlayScreen();
    void ShowSelectWindow(bool type);

public:
    PlayGrid* grid;
    QLabel* descLabel;
};

class EditScreen : public Screen
{
    Q_OBJECT
public:
    EditScreen();
public:
    EditGrid* grid;
    QLineEdit* inputName;
};

#endif // SCREEN_H
